package com.cjz.domain;

public class Course {

  private String courseId;
  private String courseName;
  private String teacher;
  private long point;
  private String time1;
  private String time2;
  private String location;
  private long limited;


  public String getCourseId() {
    return courseId;
  }

  public void setCourseId(String courseId) {
    this.courseId = courseId;
  }


  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }


  public String getTeacher() {
    return teacher;
  }

  public void setTeacher(String teacher) {
    this.teacher = teacher;
  }


  public long getPoint() {
    return point;
  }

  public void setPoint(long point) {
    this.point = point;
  }


  public String getTime1() {
    return time1;
  }

  public void setTime1(String time1) {
    this.time1 = time1;
  }


  public String getTime2() {
    return time2;
  }

  public void setTime2(String time2) {
    this.time2 = time2;
  }


  public String getLocation() {
    return location;
  }

  public void setLocation(String location) {
    this.location = location;
  }


  public long getLimited() {
    return limited;
  }

  public void setLimited(long limited) {
    this.limited = limited;
  }

  @Override
  public String toString() {
    return "Course{" +
            "courseId='" + courseId + '\'' +
            ", courseName='" + courseName + '\'' +
            ", teacher='" + teacher + '\'' +
            ", point=" + point +
            ", time1='" + time1 + '\'' +
            ", time2='" + time2 + '\'' +
            ", location='" + location + '\'' +
            ", limited=" + limited +
            '}';
  }

  public Course() {
  }

  public Course(String courseId, String courseName, String teacher, long point, String time1, String time2, String location, long limited) {
    this.courseId = courseId;
    this.courseName = courseName;
    this.teacher = teacher;
    this.point = point;
    this.time1 = time1;
    this.time2 = time2;
    this.location = location;
    this.limited = limited;
  }
}
